const { generateBodySuccess } = require('@utils/tools');

module.exports = (result, ctx) => {
  ctx.status = 200;

  ctx.body = generateBodySuccess(result);
};
